<?php
include 'config.php';
include 'opendb.php';

$ip = $_SERVER['REMOTE_ADDR'];

$query = "DELETE FROM SERVER WHERE IP='$ip';";
mysql_query($query, $conn) or die('DELETE FAILED');

include 'closedb.php';
?>